import 'dart:math';

import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';

class Test01 extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Container(
      child: RaisedButton(
        child: Text("测试"),
        color: Colors.blue,
        shape: BeveledRectangleBorder(
            side:BorderSide(width: 1,color: Colors.red),
            borderRadius: BorderRadius.circular(10),
        ),
        onPressed: (){
          print("onPressed");
        },
        onLongPress: (){
          print("onLongPress");
        },
        onHighlightChanged: (value){
          print("onHighlightChanged");
        },
      ),
    );
  }
}
